package com.genia.ba01;

/**
 * @author xxp
 * @date 2022/5/6-13:21
 */
public class MoAttack {

    /*public void cityGateAsk(){
        Geli geli=new LiuDeHua();
        geli.responseAsk("墨者革离！");
    }*/

    //构造方法注入
    private Geli geli;

    public MoAttack(Geli geli){
        this.geli=geli;
    }
    public void cityGateAsk(){
        geli.responseAsk("墨者革离！");
    }
}
